import React, { Component } from 'react'
import RouterView from '../router/routerView'
import { Route, Switch, NavLink,  } from 'react-router-dom'
 class All extends Component {
  render() {
    return (
      <div className='allbody'>
          <div className='allhead'>
          <RouterView RouterList={this.props.children}></RouterView>
          </div>
              
          
          <div className='alls'>
               <NavLink to="/all/home">首页</NavLink>
               <NavLink to="/all/classfils">排行</NavLink>
               <NavLink to="/all/my">我的</NavLink>
          </div>
      </div>
    )
  }
}

export default All